<% include '/WEB-INF/includes/header.gtpl' %>

<h1>Date / time</h1>

<p>
    <%
        log.info "outputing the datetime attribute"
    %>
    The current date and time: <%= request.getAttribute('datetime') %>
    <br/>
    Token:  <%= request.getAttribute('token') %>
    
    
</p>

<form method="post" action="facebook.groovy">
<input type="hidden" name="token" id="token" value="<%= request.getAttribute('token') %>"/>
<input type="submit" value="Obtiene datos fb"/>
</form>

<form method="post" action="amigos.groovy">
<input type="hidden" name="token" id="token" value="<%= request.getAttribute('token') %>"/>
<input type="submit" value="Obtiene amigos fb"/>
</form>


<% include '/WEB-INF/includes/footer.gtpl' %>

